export const userTypeEnum = [
  { value: "1", label: "小程序终端用户" },
  { value: "2", label: "小程序管理端用户" },
  { value: "3", label: "后台管理员" }
];

export type ModeType = "add" | "edit";

export interface FormInlineType {
  companyId: number;
  nameLike: string;
  pageNum: number;
  pageSize: number;
}
export interface UserInfoType {
  address: string | null;
  age: number;
  area: string;
  companyName: object;
  deviceId: string;
  email: string;
  name: string;
  nickName: string;
  password: string;
  phoneNum: string;
  photo: string;
  userName: string;
  userType: string;
  wxCode: string;
  roleValue: number;
  id?: number;
  companyId?: number;
  isEmp: any;
}

export interface StateType {
  formData: UserInfoType;
}

export interface RoleListType {
  roleName?: string;
  id?: number;
}
